package top.ligongzi.hrm.service;

import top.ligongzi.hrm.doc.CourseDoc;
import top.ligongzi.hrm.domain.Course;
import top.ligongzi.hrm.dto.CourseDto;
import top.ligongzi.hrm.query.CourseDocQuery;
import com.baomidou.mybatisplus.service.IService;
import top.ligongzi.hrm.util.PageList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yaosang
 * @since 2021-02-02
 */
public interface ICourseService extends IService<Course> {

    void update(CourseDto courseDto);

    void insert(CourseDto courseDto);

    void onlineOrOffline(Long id, int flag);

    PageList<CourseDoc> queryCourses(CourseDocQuery query);
}
